import { allTools } from './toolGroups/allTools';
import {
  onMeasurementsUpdated,
  retrieveMeasurements,
  storeMeasurements,
} from './dataExchange';

const measurementApiDefaultConfig = {
  measurementTools: [allTools],
  newLesions: [
    {
      id: 'newTargets',
      name: 'New Targets',
      toolGroupId: 'targets',
    },
    {
      id: 'newNonTargets',
      name: 'New Non-Targets',
      toolGroupId: 'nonTargets',
    },
  ],
  dataExchange: {
    update: onMeasurementsUpdated,
    retrieve: retrieveMeasurements,
    store: storeMeasurements,
  },
};

export { measurementApiDefaultConfig };
